package org.dromara.basic.domain.vo;

import java.math.BigDecimal;
import org.dromara.basic.domain.Place;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 跑区设置视图对象 phy_basic_place
 *
 * @author chl
 * @date 2024-08-30
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Place.class)
public class PlaceVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long placeId;

    /**
     * 跑区名称
     */
    @ExcelProperty(value = "跑区名称")
    private String placeName;

    /**
     * 类型
     */
    @ExcelProperty(value = "类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "phy_basic_place")
    private String placeType;

    /**
     * 人脸抓拍点
     */
    @ExcelProperty(value = "人脸抓拍点")
    private Long snapshotPoint;

    /**
     * 累计里程
     */
    @ExcelProperty(value = "累计里程")
    private BigDecimal mileage;

    /**
     * 人数
     */
    @ExcelProperty(value = "人数")
    private Long headcount;


}
